// 配置路由映射

module.exports = (app) => {
  const { router, controller } = app
  router.get('/', controller.home.index)
  router.get('/foo', controller.home.foo)
  // http://127.0.0.1:7001/news
  router.get('/news', controller.news.list)
}
